package cn.edu.gzmtu.service;

import cn.edu.gzmtu.domain.Permission;

import java.util.List;

public interface IPermissionService {

    /**
     * 查询所有
     * @return
     */
    List<Permission> findAll() throws Exception;

    /**
     * 添加资源权限
     * @param permission
     */
    void save(Permission permission) throws Exception;
}
